<?php
require_once("../../resources/commons.php");
require_once("../../data/User.php");
require_once("../../data/Activity.php");
require_once("../../data/Item.php");
require_once("dashboard_commons.php");

SessionManager::getInstance()->checkSession();
header('Content-type: text/xml; charset=iso-8859-1');

$l_activity=Activity::getFromPrimaryKey(base64_decode($_REQUEST[ZOOMAREA_ID_PARAMETER]));
$l_closeFunction=$_REQUEST[ZOOMAREA_CLOSEFUNC_PARAMETER];

displayActivityDashboard($l_activity,true);
?>
<center><a href="#" onclick="return <?=$l_closeFunction ?>('<?=$_REQUEST[ZOOMAREA_ID_PARAMETER] ?>');"><img border="0" src="../../resources/images/close.png"/></a></center>